import LayoutVue from '@/components/layout/Layout.vue'

export default {
  path: '/home',
  component: LayoutVue,
  redirect: '/home/myManuscript',
  meta: {
    title: '正能量稿件池',
    c_icon: 'icon-manu',
    menu: true,
    url: 'article/product/positive',
  },
  children: [
    {
      path: 'myManuscript',
      name: 'myManuscript',
      component: () => import('@/views/provideEnd/Home/MyManuscript/MyManuscript.vue'),
      meta: { title: '我的稿件', url: 'article/product/myArticle' },
    },
    {
      path: 'entryManuscript',
      name: 'entryManuscript',
      component: () => import('@/views/provideEnd/Home/EntryManuscript/EntryManuscript.vue'),
      meta: { title: '入池稿件', url: 'article/product/enterArticle' },
    },
    /* 此路由为了跳转到新建通知创建，全部通知为了占位，否则顶部的当前位置显示不对。无其他作用。 */
    /* {
      path: 'allnotice',
      name: 'allnotice',
      component: () => import('@/views/Notice/AllNotice/AllNotice_placeholder.vue'),
      redirect: '/notice/allNotice',
      meta: { title: '全部通知', hidden: true, scourePath: 'allNotice' },
      children: [
        {
          path: 'noticeDetails',
          name: 'noticeDetails',
          component: () => import('@/views/Notice/AllNotice/children/NoticeDetails.vue'),
          meta: { title: '通知详情', hidden: true },
        },
      ],
    }, */
  ],
}
